package edu.ccut.saturn.operation.database;


import java.sql.Connection;

import edu.ccut.saturn.component.SaturnData;

public class QueryByPrimaryKey {
	private static edu.ccut.saturn.basecomponent.database.facade.QueryByPrimaryKey facade = null;
	private static QueryByPrimaryKey instance  = new QueryByPrimaryKey();
    private QueryByPrimaryKey(){
    	facade = new edu.ccut.saturn.basecomponent.database.facade.QueryByPrimaryKey();
    };
    public static QueryByPrimaryKey getInstance(){
    	return instance;
    }
	
	
	public SaturnData execute(String fullKey ,String primaryKeyValue,Connection conn) throws Exception {
		return facade.execute(fullKey, primaryKeyValue, conn);
	}

	

}
